package 里氏替换原则.改;

/**
 * @ClassNameRectangle
 * @Description
 * @Author
 * @Date2021/11/13 14:10
 **/
public class Rectangle implements QuardRangle {
    private long height;    //高
    private long width;    //宽

    @Override
    public long getHeight() {
        return height;
    }
    public void setHeight(long height) {
        this.height = height;
    }
    public void setWidth(long width) {
        this.width = width;
    }
    @Override
    public long getWidth() {
        return width;
    }
}
